package com.konsung.ksdc.common.utils;

/**
 * Created by Administrator on 2016/5/13 0013.
 */
public class Constants {
    public static final String USERNAME = "username";
    public static final String PASSWORD = "password";
    public static final String CHECKED = "checked";
    public static final String DEVICE_CODE = "deviceCode"; // 设备唯一码
    public static final String VERVISONCODE = "version";
    public static final String AUTO_LOGIN = "autoLogin";
    public static final String USER_DATA = "userData";
    public static final String VERSIONAME = "versionName";
    public static final String ADMIN = "admin"; //超级管理员账号
    public static final String PWD = "0517";  //超级管理员密码
    //网络断开全局变量
    public static boolean isNetConnect;
    //购物车提交全局变量,控制购物车清单list显示，避免死循环
    public static boolean isHideBuyList = false;
    // 康尚健康百科主题
    public static final String TOPIC_KSBK = "ksbk";
    public static final String TOPIC_KSKF = "kskf";

    //存储addr json数据
    public static final String JSON_ADDR_LIST = "JsonAddrList";

    // 地区名的回显数据
    public static final String KEY_DISTRICT_NAME = "key_district_name";

    // 编辑地址中的addr info 回显数据
    public static final String KEY_ADDR_INFO_BEAN = "key_addr_info_bean";
    public static final String REQUEST_OK = "0";
    public static final String KEY_YES = "Y";
    public static final String KEY_NO = "N";
    public static final String KEY_DISTRICT_CODE = "key_district_code";

    // NOT_SEND, NOT_RECEIVED, NOT_COMMENT, SUCCESS , CLOSED, CHECK
    // order_status(1:"待发货"、2:"待收货" 3:"待评价"、4:"交易成功"、5:"已关闭"、6:"收款审核")
    public static final String ORDER_TYPE_NOT_SEND = "1";
    public static final String ORDER_TYPE_NOT_RECEIVED = "2";
    public static final String ORDER_TYPE_NOT_COMMENT = "3";
    public static final String ORDER_TYPE_SUCCESS = "4";
    public static final String ORDER_TYPE_CLOSED = "5";
    public static final String ORDER_TYPE_CHECK = "6";

    public static final String PRODUCT_TYPE_NORMAL = "1";
    public static final String PRODUCT_TYPE_REQUEST_REFUND = "7";
    public static final String PRODUCT_TYPE_REFUND_CHECKED = "9";
    public static final String PRODUCT_TYPE_REFUNDING = "2";
    public static final String PRODUCT_TYPE_REFUNDING_SUCCESS = "4";

    public static final String PRODUCT_TYPE_REQUEST_EXCHANGE = "8";
    public static final String PRODUCT_TYPE_EXCHANGE_CHECKED = "0";
    public static final String PRODUCT_TYPE_EXCHANGING = "3";
    public static final String PRODUCT_TYPE_EXCHANGING_SUCCESS = "5";

    public static final String PRODUCT_TYPE_CANCELED = "6";
    // 退换货类型
    public static final String SENT_BACK_TYPE_REFUND = "4";
    public static final String SENT_BACK_TYPE_EXCHANGE = "3";

    //shipment type     快递单号类别(1、正常,2、换货3、买家换货寄回,4、买家退货寄回)
    public static final String SHIPMENT_TYPE_NORMAL = "1";
    public static final String SHIPMENT_TYPE_EXCHANGE = "2";
    public static final String SHIPMENT_TYPE_CONSUMER_EXCHANGE = "3";
    public static final String SHIPMENT_TYPE_CONSUMER_REFUND = "4";
    public static int positon = 0; //存储社区viewpager标签切换的位置
    public static int index = 0;
    public static int item = 0;
    /*登录界面修改端口的数据*/
    public static final String LOGIN_POP_IP = "popIP";
    public static final String LOGIN_POP_PORT = "popPort";

    public static boolean isupdating = false;

    public static int screenWidth = 0; //屏幕宽度
    public static int screenHeight = 0; //屏幕高度

    public static boolean productStatusChanged = false;

    public static String afterSellReplayed = "Y";
    public static boolean saleSellReplayed = false; //售后是否有回复消息
    public static boolean isCartSubmit = false;
    public static final long DEFAULT_MAX_RECORD_TIME = 30000; //录音最大时长
    public static final String GROUP_ADD = "add"; // 群成员添加或更新
    public static final String GROUP_REMOVE = "remove"; // 群成员移除
}
